package HOT100;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @author 是阿秋啊
 * @date 2022/09/13 20:30
 **/
public class baiduIII {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNextLine()) {
            String s = sc.nextLine();
            System.out.println(s);
            System.out.println(1);
//            String[] str = s.split(" ");
//            System.out.println(Arrays.toString(str));
        }
    }
}